package com.ruoyi.project.jiaqin.answerreply.mapper;

import com.ruoyi.project.jiaqin.answerreply.domain.JiaqinAnswerReply;

import java.util.List;

/**
 * 问答评论回复Mapper接口
 *
 * @author LCL
 * @date 2021-11-19
 */
public interface JiaqinAnswerReplyMapper
{
    /**
     * 查询问答评论回复
     *
     * @param id 问答评论回复ID
     * @return 问答评论回复
     */
    public JiaqinAnswerReply selectJiaqinAnswerReplyById(String id);

    /**
     * 查询问答评论回复列表
     *
     * @param jiaqinAnswerReply 问答评论回复
     * @return 问答评论回复集合
     */
    public List<JiaqinAnswerReply> selectJiaqinAnswerReplyList(JiaqinAnswerReply jiaqinAnswerReply);

    /**
     * 新增问答评论回复
     *
     * @param jiaqinAnswerReply 问答评论回复
     * @return 结果
     */
    public int insertJiaqinAnswerReply(JiaqinAnswerReply jiaqinAnswerReply);

    /**
     * 修改问答评论回复
     *
     * @param jiaqinAnswerReply 问答评论回复
     * @return 结果
     */
    public int updateJiaqinAnswerReply(JiaqinAnswerReply jiaqinAnswerReply);

    /**
     * 删除问答评论回复
     *
     * @param id 问答评论回复ID
     * @return 结果
     */
    public int deleteJiaqinAnswerReplyById(String id);

    /**
     * 批量删除问答评论回复
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteJiaqinAnswerReplyByIds(String[] ids);
}
